package com.example.xpvideo.entity.res;

import com.example.xpvideo.entity.Qualification;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/8/25 11:48
 * @description:
 */
public class PHPLocalMerchantsDetail {
    /**
     *主键
     * id
     * isnull 1
     */
    private Integer id;
    /**
     * 商家LOGO
     * isnull 0
     */            private String logo;
    /**
     * 总店名称
     * isnull 0
     */            private String shopName;
    /**
     * 门店名称
     * isnull 0
     */            private String name;
    /**
     * 本地生活商家营业开始时间
     * isnull 0
     */           @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private LocalDateTime wokeTimeStart;
    /**
     * 本地生活时间营业时间结束时间
     * isnull 0
     */            @DateTimeFormat(pattern = "HH:mm")
    @JsonFormat(pattern = "HH:mm",timezone = "GMT+8")
    private LocalDateTime workTimeEnd;
    /**
     * 商家简介
     * isnull 0
     */            private String intro;
    /**
     * 省名称
     * isnull 0
     */            private String provinceName;
    /**
     * 市名称
     * isnull 0
     */            private String cityName;
    /**
     * 县区名称
     * isnull 0
     */            private String streetName;
    /**
     * 详细地址
     * isnull 0
     */            private String address;
    /**
     * 客服电话
     * isnull 0
     */            private String serviceMobile;
    /**
     * 商圈名
     * isnull 0
     */            private String businessDistrictName;
    /**
     * 店铺评分
     * isnull 0
     */            private Object score;
    /**
     * 创建时间
     * isnull 0
     */             @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime createTime;
    /**
     * 上级账号
     * isnull 0
     */            private String superAccount;
    private List<Qualification> qualifications;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public LocalDateTime getWokeTimeStart() {
        return wokeTimeStart;
    }

    public void setWokeTimeStart(LocalDateTime wokeTimeStart) {
        this.wokeTimeStart = wokeTimeStart;
    }

    public LocalDateTime getWorkTimeEnd() {
        return workTimeEnd;
    }

    public void setWorkTimeEnd(LocalDateTime workTimeEnd) {
        this.workTimeEnd = workTimeEnd;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getStreetName() {
        return streetName;
    }

    public void setStreetName(String streetName) {
        this.streetName = streetName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getServiceMobile() {
        return serviceMobile;
    }

    public void setServiceMobile(String serviceMobile) {
        this.serviceMobile = serviceMobile;
    }

    public String getBusinessDistrictName() {
        return businessDistrictName;
    }

    public void setBusinessDistrictName(String businessDistrictName) {
        this.businessDistrictName = businessDistrictName;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Object getScore() {
        return score;
    }

    public void setScore(Object score) {
        this.score = score;
    }


    public String getSuperAccount() {
        return superAccount;
    }

    public void setSuperAccount(String superAccount) {
        this.superAccount = superAccount;
    }

    public List<Qualification> getQualifications() {
        return qualifications;
    }

    public void setQualifications(List<Qualification> qualifications) {
        this.qualifications = qualifications;
    }
}
